import Topic from "../view/topic/index";


const route = [
    {
        path: "/topic/:id",
        exact: true,
        render(props) {
            return <Topic {...props}></Topic>
        }
    },
    {
        path: "",
        exact: false,
        render(props) {
            return <undefinedPage {...props}/>
        }
    }
]

export { route }